.class Lcom/brixd/niceapp/community/activity/PictureGalleryActivity$3;
.super Ljava/lang/Object;
.source "PictureGalleryActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->initWidgetsActions()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;

    .prologue
    .line 199
    iput-object p1, p0, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity$3;->this$0:Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 5
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 203
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity$3;->this$0:Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;

    # invokes: Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->getActivity()Landroid/app/Activity;
    invoke-static {v1}, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->access$900(Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;)Landroid/app/Activity;

    move-result-object v1

    const-string v2, "CommunityPictureGalleryClickSetCover"

    invoke-static {v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 205
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity$3;->this$0:Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;

    # getter for: Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->mViewPager:Landroid/support/v4/view/ViewPager;
    invoke-static {v1}, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->access$700(Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object v1

    invoke-virtual {v1}, Landroid/support/v4/view/ViewPager;->getCurrentItem()I

    move-result v0

    .line 206
    .local v0, "curPos":I
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity$3;->this$0:Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;

    # getter for: Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->mPictures:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->access$000(Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    .line 208
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity$3;->this$0:Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;

    const/4 v2, 0x1

    # setter for: Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->mIsDirty:Z
    invoke-static {v1, v2}, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->access$802(Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;Z)Z

    .line 209
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity$3;->this$0:Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->finish()V

    .line 210
    return-void
.end method
